package com.lostreseditores.sabersai.dataaccess.dao;

import java.util.List;

import com.lostreseditores.sabersai.model.Bases;


public interface IBasesDAO {
    public void save(Bases instance);

    public void delete(Bases instance);

    public void update(Bases instance);

    public Bases findById(Integer id);

    public List<Bases> findByExample(Bases instance);

    public List<Bases> findByProperty(String propertyName, Object value);

    public List<Bases> findAll();

    public List<Bases> findByCriteria(String whereCondition);

    public List<Bases> findPageBases(String sortColumnName,
        boolean sortAscending, int startRow, int maxResults);

    public Long findTotalNumberBases();

    public List<Bases> findByBaseidn(Object baseidn);

    public List<Bases> findByBcompetenciafinn(Object bcompetenciafinn);

    public List<Bases> findByBcompetenciainin(Object bcompetenciainin);

    public List<Bases> findByBcomponentefinn(Object bcomponentefinn);

    public List<Bases> findByBcomponenteinin(Object bcomponenteinin);

    public List<Bases> findByBdescripcionv(Object bdescripcionv);

    public List<Bases> findByBdiferencian(Object bdiferencian);

    public List<Bases> findByBpromediofinn(Object bpromediofinn);

    public List<Bases> findByBpromedioinin(Object bpromedioinin);

    public List<Bases> findByBtotalfinn(Object btotalfinn);

    public List<Bases> findByBtotalinin(Object btotalinin);
}
